Add test for proxy functionality.