Add support for onPageTestsComplete events