get sinon tests working