fix undefined parent suite when phantomjs
Merge pull request #104 from AF83/fix81

Fix undefined parent suite when phantomjs