Added tests for role? method

I added tests for the role method on the user model. I probably should
have written the tests first, but oh well.