Task now requires user_id to be NOT NULL. Fixed unittest.