The tests now use a user with a custom id field.
Fixed the get_anonymous_user() method which used explicit id instead of pk.