Test that tempfiles are not always used