tests for excerpting http messages