Some SQlite database tests
Fixed a bug in parsing the root source