fix Mocha test failure with chained $.fail()

Thanks to Sam!
changing metadata.js => update expected-json fixtures

metadata.js for MD2D was changed in ef797bb42e2d

When changes occur in metadata.js normally the expected-json
fixtures need to be updated.

Test failures were thrown by the Mocha tests:

The serialized object does not match the original object used to create the MD2D mode