getting require working in specs, adding sinon