Functional tests: test that an avatar can be changed when editing a profile