Added externalActivityId parameter to EventActivityScope; added tests for same