NXP-11397: fix tests
NXP-11364: force the temp file creation if the filename is not a valid parameter to be used in a command