refatored out TestingImportedFunctions out of FunctionsCollectorTest
added SymbolTable.names()
added DependencySorter