Fixed error in unit test utils.