fix a unit test failure on ci server.