added invalid request test case
fix format