Added tests for changing a user's role