Use an #assert_not_nil_nor_empty helper; restrict warning test