Added pack test.
Fix pack signatures.