[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)
please add test cases for when a string, string 'false', string 'true', string '', integer, integer 0 and null are validated