Stub out EventMachine.connect so the tests can be run faster and without a network connection.
Move matchers and mock cache to support.