fix http handler test case