Implement collection get operations and cover it with tests.