Fix tests in test_ishare.py.

Those final changes make all tests in test_ishare.py
pass and make shares appear in the web client again.