Adding plugin and test in main