added a test for proxy exceptions