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

PHPBB-12514