add more sinon testing