added new PluginTests for pre_auto_attach post_auto_attach hooks