Removed global variable test_config, updated appropriate references
Updated documentation of functions and classes.