Adds test for one to many relation