Add version assertion in depth merging test.
Extract depth timestamp from version instead of time.