moved the tests for TSet to the correct place
fixes #887
Merge pull request #896 from reactormonk/set_fix

Set fix. fixes #887