Added isNotEmpty assert