fixed loadconfig() tests