test file with password