can we add some message here so just we know within the unit test result what is missing, e.g.
$this->fail('script ' . $js . ' was not loaded');