Change test to locally perform timestamp conversion to fix Travis CI build