fixed sharding assertion error messages
Merge pull request #2415 from LearnBoost/sharding-test-fixes

sharding-test-fixes