Bug fix for views
Adding more unit tests for YapDatabaseView