MODULES: lib1, main

STEP 0:
    libs: lib1, main
    dirty js modules: lib1, main
    dirty js files:   lib1/l1, main/test, main/m, main/m.export, main
STEP 1..2:
    libs: lib1, main
    dirty js modules: lib1, main
    dirty js files:   lib1/l1, main/test
STEP 3:
    libs: lib1, main
    dirty js modules: main
    dirty js files:   main/test
STEP 4:
    libs: lib1, main
    dirty js modules: lib1, main
    dirty js files:   lib1/l1, main/test
STEP 5:
    libs: lib1, main
    dirty js modules: main
    dirty js files:   main/test
STEP 6:
    libs: lib1, main
    dirty js modules: lib1, main
    dirty js files:   lib1/l1, main/test
STEP 7:
    libs: lib1, main
    dirty js modules: lib1, main
    dirty js files:   lib1/l1, main/test
