Add tests for querying with strings