test deactivation