update timestamp unit testing