Add test for :user method