Modularization of tests, define callbacks for functions
Add getCurrentDirLs(callback) function