This feels like we could stub _longPolling in the beforeEach function. We could probably do the same with the new Server as well.