fixed manyToMany mapping in Entity classes, more tests for legoSetImpl