Tests for config-readers + small change in detecting valid file