Added sinon as the spy framework