Log the expected and actual values in failed metadata tests (rebased onto develop)



This is the same as gh-943 but rebased onto develop.

----

This just needs verifying that the logs for failed tests (e.g. with https://github.com/openmicroscopy/bioformats/pull/881) are more informative.

/cc @qidane