improved require config

sinon