added additional test case to catch bugs in compaction