[ticket/12341] Add tests for get_username_string()

PHPBB3-12341
Merge remote-tracking branch 'Elsensee/ticket/12341' into develop-olympus

* Elsensee/ticket/12341:
  [ticket/12341] Add tests for get_username_string()