tests backbone app using chai and sinon