try to fix issue where tests are using Tempfile type and not str