Add code to test script that can run code to merge patches to test