Add unit tests for writing negative values and VLE integers through TSDB