tests update corrected potential bugs on searching word boundaries