fix unit test failed in the linux.