Add tests for NonZero.