Fix bug in a passing test's print function