fix undefined parent suite when phantomjs