Fixed the invalid request test case