Added test for dot file config, improved a test.