test.js: Fixed report of total number of tests.