add tests for object.has