Test for find next in history
Store the find history in replace