testing with jasmine and sinon update