Fix fixture and middleware for 1.7 tests.