added tests for payee and category query ordering