CIMI: fix test failure due to sequel/sqlite error type change