Merge pull request #176 from forumbyr/master

entity search & fix bug ,see details
fix init unit test problem.