Adds Plugin base class and tests.