test for amount of keys returned rather than the lack of $null