diff --git a/requery-test/src/test/java/io/requery/test/JPAModelTest.java b/requery-test/src/test/java/io/requery/test/JPAModelTest.java
index <HASH>..<HASH> 100644
--- a/requery-test/src/test/java/io/requery/test/JPAModelTest.java
+++ b/requery-test/src/test/java/io/requery/test/JPAModelTest.java
@@ -31,6 +31,7 @@ import io.requery.test.modeljpa.GroupType;
 import io.requery.test.modeljpa.Models;
 import io.requery.test.modeljpa.Person;
 import io.requery.test.modeljpa.PersonEntity;
+import io.requery.test.modeljpa.PhoneEntity;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
@@ -150,6 +151,16 @@ public class JPAModelTest {
     }
 
     @Test
+    public void testInsertOneToMany() {
+        PersonEntity person = randomPerson();
+        PhoneEntity phone = new PhoneEntity();
+        phone.setPhoneNumber("+1800123456");
+        phone.setOwner(person);
+        person.getPhoneNumbers().add(phone);
+        data.insert(person);
+    }
+
+    @Test
     public void testSingleQueryExecute() {
         data.insert(randomPerson());
         Result<Person> result = data.select(Person.class).get();
Add additional test testInsertOneToMany