Add testing framework for Thread Local Storage[TLS].
Update DB framework.