Load and save the configuration to the profile file;
Add missing tests