Fix errors in testing code; refactor zlm.SingleCellAssay