Refactored tests and introduced javassist for off-heap cached proxies