Fix run test bug