Added TEIs tests.