test searchAndReplace() with different sizes for search and replace string