[3.8] Fix unit test