MDL-47726 availability: fix tests when there is a text custom field

This unit tests assumed that on a fresh install, there were no custom
user-profile fields. Given some third-party plugins, that assumption is
false.