stricter testing in digits_truth.py