test for non-numeric/non-factor response

fix GH #259