add unit test for installing toolchain under HierarchicalMNS
load dependencies one-by-one when determining $MODULEPATH extensions, simplify (and correct) code by checking extensions full path