[ticket/12331] Add functional test for saving custom profile fields

PHPBB3-12331