Test data retrieval from sqliteDB