Added some unit tests.
Added some mock TRE files.