Added isZero and tests