[ticket/12514] Add test for "int" type custom profile field

PHPBB3-12514