Add test for call_plugin