Fix test case code being selected after load.