refactor test
add logging to test to see which messages are duplicated
group fix