Make The Config Remember Where it was Loaded From
Add Check to Unit Tests

Ensure that there is no path stored if the config file was not loaded
explicitly from a path.