Fixed warnings in the testsuite.