fixed counting of tests run