[CHORE] Add sinon for spies in testing.