add tr
tr: add some tests
Merge pull request #177 from ebfe/tr

Add a basic tr