test(plugins): add specs for plugin hooks