Added more tests to sqlite specific query-generator.