update unit test for 2 times called