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 sailing for the subscription to be pushed.

This test fixes that.