fix timestamp unit test