corrected tests counting