add sinon and some more js tests BB-12