test that file is ok before the file gets destroyed in order to make sure the correct file is really there the first time. this prevents a test bug like before when the file under test was not the same as the file which has been destroyed.