remove lines when test is performed