test(Response): Improve resp.append_header tests

This patch improves test coverage of resp.append_header and makes the
approach more consistent with the other functional tests in the same
module.