Undo deploy test and fix deployment script.