Change the message displayed to restrict one
Add a test for the case that "Char" fails