update test for new publishAttributes behavior