Update the unit-test to catch eventual edge cases, change where config is loaded