Add tests for Picture.toDataURL and Picture.toBlob