add test cases for min pack