Sprint task - minor fix for empty test data handling.