M: application's constructor needs root directory information
M: modified test-run way