fixed testcase
Merge pull request #551 from wenshao/master

fixed testcase