Bugfix in plugin test