fixes tests for *.cfg files