Added test which makes possible to load archived optimized snapshots of agg files. Fixes broken load data