fix for entities that use @Entity(name=...)
added test for entities with @Entity(name="...")
Merge pull request #29 from uweschaefer/master

fix for entities that use @Entity(name=...)