Added a test for User#role