Due to the way templates work, the incorrect variable (user instead of item) was not causing any error, and just failing silently to display the avatar. This commit is also providing a basic spec for completion of users and groups.