add test for null in htmlescape