Add test for ProvidesUserInfo trait

Change-Id: I46507fd11993caffee51c28bac5e2e9abb577486