test for http interface