added tests for one to many associations