add httest integration tests