Add unittest for parse_jobid.