Singularity confinement test for ultradiscrete equations with parity variables