the 'db' test always returns an object and the 'queries' test, an array