refactor scripts loading again
and now we have a working test :-D