modified load_settings_from_file to return the module's __dict__

also modified the test for the load_settings_from_file to support the change