adding test for hasmany-extra with type object