automatically clear plugins and constants between tests