Adds test_stats to test_storage.py

This is used to test the new bucket_count reported by the server,
as well as the new stats total_leased_sharecount and
total_leased_used_space.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>