Added the test function of reading moves