Corrected count for tests