Adding a test to ensure a query that returns 0 rows is returned null