fix testsuite (fix content file, improve loading of repos, set log file ...