tests: fix up for changed bbcode library output and verify html is properly escaped