Fix the "user" undefined error message

Avatars for users that haven't yet been published generate an annoying error message since the user object is undefined while waiting for the subscription to be fully pushed.

This test fixes that.