Add tests for Python ElementTree impl.