Tests should be done for TSDB class.