corrected and added some tests about undoing a move