add compaction test