mocking and stubbing example on AnonymousUserSpec