Remove use of unittest in test_core
Merge
Remove unused import
Update test to patch config_root to load custom config.