Add unit test for type_bool custom profile field

PHPBB3-12514