fixed testcase
Merge pull request #321 from wenshao/master

fixed testcase