Switch from assert to expect.js