Fix test failures due to Hive exit code change