Writing unit test for TSDB Wrrapper API