Add CPAProxy.podspec and fix tests