Adding keyspace and shard lock tests.
Adding tests for topo tablet pid.
Fixing various things from review.