update html writer tests for ref sup class