fix tests in test_contentstore.py