fix valid_grasshopper_move and add more tests