Add tsd test.

Submitted by Mike Hommey.
4 files changed