Use contexts for the find and replace tests