[Compaction] Minor fix in compactor_test