modelbuilder.getobjects() failing pytest