Improved Podfile test target link dependencies
Added removeAllListeners with optional event