Add tests for object collection