Wrote half of the tests with Chai using BDD.