make tests compilable
add HttpHeader
fix tests