Add working test for header-to-cookie-to-header conversion