Don't we need a mock here? feels like we need one, though I've never really managed to make them work using sinon