TST: Added roundtrip testing of CSD prediction API.