fix bug in integration test fake http server