left debugging prints in
made the unit_type_ids_for_repo public and leveraged it
fixed mismatches in test between type defs and unit types