test for write to html