fixed test reading debug config variable.