added basic tests for collection operations