BB JS in depth Testing with Mocha and sinon