Add unit test for type_bool profile field

PHPBB3-12514