Gem to mock EventMachine for testing