Resetting window.require for dist tests to pass everywhere.