Cleaning up before running plugin manager tests