Rack middleware for making assertions about what calls were made to DAX stats service