Make test slightly more interesting

Ensures that arguments passed to the middleware is actually used.