Adapt test script for new binary type.
More work.
Test sqlite3 stuff.
More testing stuff.