process replacements on afterAll