unit tests to query view by key and results in descending order