Get rid of global RemoteSystem#connect stub

Local stubs/mocks are used instead in order to make things clearer.