Added GetConfiguration() and accompaning unit test.