Remove generated elements on finish test.