fixed / at the end of s/test1/test2/.