Test to delete a plugin during script execution

This test is for a corner case when a plugin executes a script that deletes the invoking plugin itself.