Added some simple test cases for TGFs