fix map command unit test.