Bug fixes from unit testing
Adding more unit tests for YapCollectionsDatabaseView