Change event unittest