Removing pluginmanager and testing for constructor initiliazation