added test for user role