Merged activation and deactivation tests