added test cases for all uncovered functions for array lists
fixed pack function to pass the test