Add tests for proxy delegate