tests: verify that HTML tags containing - are considered valid