Update gitignore
Replace mock with closure. Add test for Te relationships.
Cosmetic change
Bug fix
Cosmetic change