added small test for plugin patching