Added tests for service proxy