added two tests to verify that you can serialize an array of numbers
starting or ending with 0.

the old serializing algorithm had an issue with that

closes #2