fix testsuite compilation part I