fixed bug in test move