test CGlib and jdk proxy