Added Move implementation and corresponding tests