add a test that incapsulates all the plugins logic