[ticket/12514] [WIP] Add tests for profile fields

This PR will add tests for different types of custom profile fields. Currently WIP, do not merge yet

[PHPBB3-12514](https://tracker.phpbb.com/browse/PHPBB3-12514)
But I don't think globals should be required. So try to delete this line if possible