making unit test more robust to aboid failure on intgration server