update Mina  test code