a few tests for http message generation.