tests: priority checking test for 'resolving of index files for both JS and CoffeeScript'