Core: Correct the number of expected tests