Added middleware_classes field to test case.