added test for averageExitTime() method