more test for Pack function
enhance pack function