fix simulate_move and add test