Sensible testing of Tempfile removal where it can be guaranteed