Use expect.js instead of assert