Remove sleeps from specs by using rspec-message-within for testing asynchronous method calls.