package.json now has a test configuration.
put in std.algorithm in d2sqlite3
put in main for tests in d2sqlite3