, 20);
    assert.strictEqual(picture.category, 'skia');
    assert.strictEqual(picture.name, 'Picture');

    const typeNames = Object.keys(collection.getAllInstancesByTypeName());
    typeNames.sort();
    assert.deepEqual(
        ['Frame', 'Picture'],
        typeNames);
    assert.deepEqual(
        [frame],
        collection.getAllInstancesByTypeName().Frame);
    assert.deepEqual(
        [picture],
        collection.getAllInstancesByTypeName().Picture);
  });

  test('createSnapDelete', function()