added test for safeguarding the callback, sinon version bump, npm and bower bump