Fixed compilation issues in the test package.