fixes mixup of clean and smudge functionality
remove nimsdata.pfile test dependencies