Fixed sharding test and some of the docs