add test for query method with a single argument