Add tests for ChunkSqlDao