[ticket/11531] Check if uploaded avatar is properly displayed in tests

PHPBB3-11531