write tests for objects
finish tests for objects