Add base plugin object and test validation of plugin