Get rid of global RemoteSystem#connect stub

Local stubs/mocks are used instead in order to make things clearer.
Fix RSpec deprecation warnings about old "stub" syntax