better html_safe tests copied from temple
fix tilt errors