fix warning compilation in testsuite