User object replaced with CustomUser obhect for tests