add LocalText class tests