encapsulate html a bit
allow search arg for test