Adding tests for the move function