Removed unnecessary block

Removed unnecessary block from the test case.