Fixed bugs within 'test' test ATs by ensuring that all HTML templates
have a valid, non-duplicate identifier.
Improved the error message given when an HTML template doesn't have an
id, and only needs an unnamespaced id.