Reorganize tests for plugins.