Fixed class loading bug with proxies
Added test that should be green but is red