Add a test for escapeTags