mock object

Add support for more metadata.
check that the Java integration tests are still green.

Related to https://github.com/openmicroscopy/openmicroscopy/pull/3260
must be between 0 and 1