added test to see if zero timestamps are encoded correctly
made times always encode with their full 8 bytes to make sure that negative unix epochs are handled correctly