Fixed constituency migration and added prepared test scripts.