Removed unnecessary lines from test case

Removed the unnecessary lines.