Fixing require test, now using module instead global.require