add logging to test to see which messages are duplicated