Tests if caching with ConcurrentHashMap works with a JDK proxy