tests(avatars): fix functional profile image camera test

Fixes #1688.