Add tests and files for plugin