Fix minor error in tests
Implement output for Object definition