[ticket/12983] Add functional test for ucp pref module

PHPBB3-12983