Added tests for creating OneToMany relationship.