The test can now be run outside of the test source directory. Since the `test_dir` global variable contains the absolute path to the test source, all copying of configurations and execution of scripts can be done with minimal changes.
use mdbci destroy instead of vagrant destroy
and add cores saving from tests themselves.
remove unnecessary 'cd' in run_test_snapshot