Merge pull request #40 from cotal/fixUT

add generic getter/setter test
Merge pull request #41 from cotal/fixUT

add doc
Add unit test for entity