Split tests.
Add missing test teardowns to doctests.
Restore Image.type_info.addable_to in browser.txt