Convert pack sketch to a test.

Closes #319.