Add indexer and tests for IConfiguration

parent #71