fix the exception that's raised by proxy test
Merge pull request #962 from richardcypher/master

[test]fix the exception that's raised by proxy test