Fixed up pack_init and started pack tests

I made the const *chars into c++ style strings, wrote tests for
everything except shuffle because how do I test that. didn't do anything
significant elsewhere