fix cannot initial database when run test at first time / new machine.
Merge pull request #9 from roongr2k7/master

fix cannot initial database when run test at first time / new machine.