http tests: use expect.js instead of chai.js; load json2.js