Add a proper spec for job_list, and fix the compact! bug.