Add scripts for automated patch testing.