fixed deactivate tests