More fixes for tdef test
Fixed test_tdef
Merge pull request #15 from NielsZeilemaker/test-cleanup

Test cleanup