added tests to object