remove redundant lines from test file