fix plugin unit tests

existing unit tests for plugins were not updated when updating to new plugin structure