unit test for replace all static text