Fixed warnings in the testsuite.
Merge pull request #154 from apollo13/tests

Fixed warnings in the testsuite.