Added a few unit tests for the config module.

One of these is failing.