system: renamed change_working_dir() to set_working_dir().
test/system/general: moved delay calculations before costly calls.
system: added environment variable access.
test/system/general: added environment variable tests.