Create TBlockTest.py

added test cases for TBlock class