fixed testcase
Merge pull request #320 from wenshao/master

fixed testcase