Removed unnecessary test lines

Removed unnecessary/irrelevant lines from the test case.