add chai-as-promised
how to test promises

- install chai-as-promised
- return an expect().to.eventually from the it() block
  as provided by chai-as-promised