add a unit tests for the query