Fixes #392, update tests so that Unix time is calculated in seconds
Merge pull request #394 from jwinter/fix-milliseconds-unix-test

Fixes #392, update tests so that Unix time is calculated in seconds