test async event by printing log