Fixed some test and commented out sinon (undefined)
Deletet sinon