Make tests HTML valid.