corrected test for classifying empty string