Added unit tests to prevent regressions to the DefaultConfigurationManager

Moved the logic for determining the Topic TTL to the ConfigurationExtensions
in order to ease testing.