set headers and cookies to increase test coverage