[ticket/12341] Add tests for get_username_string()

http://tracker.phpbb.com/browse/PHPBB3-12341