[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)
also try with boolean, null and a random string (not integers)