`HConstants.LATEST_TIMESTAMP` is the same thing as `Long.MAX_VALUE`. Since the 'latest value' gets resolved at the time of the put, this test may non-deterministically fail. I would use a different value like `42L`.