Test code for hear messages