fix #1
sample of translate and unittest
remove unnecessary ref; Entry is a class so it has the reference semantics.
Merge pull request #2 from majiang/ta

Ta