Fix bug in test require

Using the "complete" module ID has side-effects on RequireJS's name
resolution and prevents other modules from loading the module with its
aliased ID.