Fixed a few warnings in the testsuite.