mock object

Add support for more fields.
check that the Java integration tests are still green.

Related to https://github.com/openmicroscopy/bioformats/pull/1471