added http tests
added correct content-type for html responses