test case compacted