IMHO we could do it and reuse in all places

```js
scripsLoaded(['script1, 'script2'']);

function scripsLoaded(scripts) {
   scripts.forEach(function(script)) {
      assert.equal(document.querySelectorAll('head > [href*="' + script + '"]').length, 1);
   });
}
```

What do you think?