Added assertions to oneToManyTests