fix(plugin): Fix plugin test cases