Add unit test for drop down type custom profile field

PHPBB3-12514