Remove middleware for statics in test/features