nir: Add unit tests for nir_opt_comparison_pre