Add test cases for invalid request.
handle some bad queries & test cases for that
add test cases
fix bugs in test cases
fix bugs in test cases
pass all test cases
fix