Tests: add config-file tests