adding test for deactivation