Fix http.tst unit test