Fixed rspec tests related after removing eventmachine dependency