Add test for Sources.portage_configuration

Pretty trivial test but adds another mock usable in other tests.