fix a broken unit test
expose ability to prepend headers