checkin: include version; add unittest.
core: Delete make_serial.