Clean up migration stage functional test script, add check strings for stage 8.