Added unit tests for tclib.
Self-review