Tee - test exceptions
Merge pull request #198 from radekm/tee-test-exceptions

More tests for tee