Unit tests for plugins