Add shim to requirejs optimize config with tests.