Added a small test case to debug a minor issue.

Can be found at http://localhost/test-tsjs.html.