Written tests for JAXBContext caching