Test code highlight and to read function