More tests for SCDB code.