Removed line with invalid syntax
User model reference changed to AUTH_USER_MODEL
Added unit tests for custom users.