tests related compaction