addShards test works now. Still need to cover the error conditions