ConfigService fixed, tests added