Tests: Clean and customize app settings for tests

Allow plugin to initialize settings for its test case.

Added simple test for FakeVim plugin.
Properly close client worker threads at exit