Wait for all servers to synchronize their metadata
Return an error if there are no shards to query
Wait for the servers to synchronize
Get rid of the shards slice
use one field instead of two in the test