add test case fn-replace-45