Proper test for patchGlobal
Proper test for patchGlobal

Needed to emit from process directly instead of triggering an actual
global exception. Thanks @ligthyear!

miguelb/raven-node,getsentry/raven-node,getsentry/raven-node,Livefyre/raven-node,Raynos/raven-node,boneyao/raven-node,BuildingConnected/raven-node,getsentry/raven-js,IFTTT/raven-node,miguelb/raven-node,zwily/raven-node,shamasis/raven-node,diequeiroz/raven-node,getsentry/raven-js,maxvipon/raven-node,getsentry/raven-js,getsentry/raven-js,tgroshon/raven-node,driftyco/opbeat-node,opbeat/opbeat-node,opbeat/opbeat-node