when changing the test file to test not the "original /js/piwik.js" but instead test the minified /piwik.js then the test fail (see attached screenshot)
It cannot work with the compiled version as lots of code is removed during the compressing such as:
/*<DEBUG>*/ ... /*</DEBUG>*/
Don't think it makes sense to run the tests with the minified version as 90% of the tests cannot work.
moving to feature request