fix init unit test problem.
Merge pull request #177 from forumbyr/master

fix init unit test problem.