Fixing config unittest