modify test utils mocked functions