Test helpers for testing a HTTP interface