Fix some syntax warnings in test file.