Pass "numTestsExpected" to logTestingFinish

Adds a new parameter to the logTestingFinished method for the
number of tests that were expected to run, and causes the method
to log "Testing did not finish..." if the number of tests that
executed is not equal to the number of tests that were expected.