Update test to prevent asynchronous config from breaking test

Previously, it was possible that the test started before the `config.js` file was loaded. This could create bugs as some shim config and paths config could break modules definitions. Now, the config is always loaded.

I had to declare `require.config` before adding the config script tag to make sure the baseUrl is set correctly for the `deps` array to work.