db unit tests for sqlite: version bugfix