fix(test.api): fix PhantomJS - SECURITY_ERR on multiple instances tests