[Refacto] Fix unit test and update impact function.