Fix broken tests in affix events