Use temporary content-type registry in test