passes headers through test helpers' response

fixes #2542