Added a test for the ConfigurationFile serializer.
Made some classes less visible.