Fixed bugs in core::Config.
Improved core::Config tests.