Test traits with javassist proxies