Added more tests for m2m and one2many objects. Fixed small issues with that.