Make the test state record match the real one for HTTP drains.

Seriously, time to extract it into an .hrl.