Stub out Kernel.exec for testing the options sent to SSH.

Also fixed an issue with the test environment having mis-ordered
arguments sent to create_config_file.

Due to a conversation in #24.

Wondering if more can be done here.