Fixed parliament migrate plugin and testing script.