Component tests fixed. inject-scripts fixed: it injected all the scripts to index, not only the frontend ones.