Improve test stability

Add `skip_all` function to skip all tests in a file.
Increase timeout for a suite.
Improve remote passphrase sync logic.