Close cursors in test
Allows indexes to have null values

Adds null value indexer to test Note model.
Allow searching for null indexes

If a query is using an EQUAL_TO, NOT_EQUAL_TO, LIKE or NOT_LIKE comparison to a null value then the SQL will look for matching objects that have a null value in an index at that value
Test shouldn't delete the database