fixed bug in testmove