pithos: Fix tests

Fix tests challenging partial content update that used to fail with ValueError: empty range for randrange().