testDeactivateEffect