fix(testing) Small issue with the test creation logic