Add test of the char detection