MDL-24223 more unittests for html purifier