added plugin functional test