Test and fix physio run merge code.