More tests for isNonNegative