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.

With Jasmine everything is working fine.

**Qunit isn't working with grunt** in this format (there's a `global failure` error throwed). I checked a bit and it feels like a bug with `bbb`. The browser version is running correctly. (_I added the commit anyway if someone want to check the bug with Grunt and as Jasmine can be cherry picked_)