This commit adds a test for JDK dynamic proxies and fleshes out the test for CGLIB proxies. Issue: SPR-14050