Type hh.ActionWriter to io.Writer, so unit test can use bytes.Buffer