fixed phpunit bug
Merge pull request #569 from liuggio/patch-1

fixed phpunit bug