Fixed plugin_generator test