Added tests for comparison to null values on queries.