Adds middleware abstract, and associated test, and calls.