Add unit tests for <a href> escaping