Test for resolved issue: Fix for proxing anonymous classes