db/collection_test.go added (partially passed)