Refactor MockConfiguration to extend ConfigurationImpl