Fix plugin generator test