Pack.cpp passes given tests.