Fix sparse RC and CC unit tests