more test code in http-task