Rack middleware for testing an applications reporting to DAx