test isvalidSymbol
test islabel will return1 if the word is valid label
test islabel should throw exception if the word is invalid label
test isLabel and isValidSymbol