addHeader middleware and 100% test coverage of modules/middleware