Fix assert statement, which is not always checked.
Fix indentation.
Add test suite for the Configuration class