Rearrange tests so core functionality is tested before plugins.