renamed the main() function in pack.c to pack_test()