Improve test stability

Add `skip_all` function to skip all tests in a file.
Increase timeout for a suite.
Improve remote passphrase sync logic.
Merge pull request #877 from matthewrmshin/improve-test-stability

Improve test stability