Set up a rudimentary middleware test.