Add another test for nonEmpty