Fix broken event test