#63: don't call deactivate() for non-active plugins
Add more plugin activation/deactivation tests