Add sinon and adjust specs to pass