teardown method for cleaning test images