Added pack().to() syntax and tests