[test] Updated GraphUnionTest to zcheck.