Looking at the TestUrlResolver implementation at https://github.com/mozilla-b2g/gaia/blob/master/test_apps/test-agent/common/test/test_url_resolver.js, I actually wonder if just using the parameter `test` is not exactly the same ;)