fixed testcase
Merge pull request #324 from wenshao/master

fixed testcase