Added move command handler and a test case for it