Use existing tests
Handle html_safe in attributes