Fix bug in move history & add unit test for move history property