Added slre_replace() in the unit test