Memoizer tests

Following https://github.com/openmicroscopy/bioformats/pull/1336#issuecomment-55679848, simple tests are added for the memoization mechanism following the scenario described in the PR linked. Tests are added:
- under `components/formats-bsd/test/` i.e. using `formats-bsd.jar`
- under `components/formats-gpl/test/matlab` i.e. using `bioformats_package.jar`

/cc @melissalinkert