[ticket/12514] Add tests for profile fields

This PR will add tests for different types of custom profile fields.

[PHPBB3-12514](https://tracker.phpbb.com/browse/PHPBB3-12514)
Remove spaces before `*`