Rework plugin, add gen using XML literals test