added test case for TestQueryParser