HTTP tests - fix tests on newer chai versions