Added more tests, and worked out some in-process side effects of loading multiple plugins