char handling test