logging NPE
adding total test count to the result page.