improved the question query test for better coverage