Made unittest more robust
Add support for "HEADER\n\nCONTENT"