fix pwfile test