Fix test script to work w/ node 0.8.x
Fix test script to work w/ node 0.8.x

Apparently process.env doesn't have the
hasOwnProperty method, so we need to
invoke it from Object.prototype instead.

splunk/splunk-sdk-javascript,lowtalker/splunk-sdk-javascript,lowtalker/splunk-sdk-javascript,splunk/splunk-sdk-javascript,splunk/splunk-sdk-javascript,adamryman/splunk-sdk-javascript,adamryman/splunk-sdk-javascript