Add test to cover search multiple times
Add test to cover search multiple times

xtermjs/xterm.js,xtermjs/xterm.js,Tyriar/xterm.js,xtermjs/xterm.js,Tyriar/xterm.js,Tyriar/xterm.js,xtermjs/xterm.js,Tyriar/xterm.js,xtermjs/xterm.js,sourcelair/xterm.js,sourcelair/xterm.js,sourcelair/xterm.js,Tyriar/xterm.js,sourcelair/xterm.js