fixed testcase
Merge pull request #322 from wenshao/master

fixed testcase