test for highlight replace special case