fixing typo in _shard. updating API test endpoints