add test for http