Added write test for ConfigurationSerializer