Test moving operation.