fix erroneous box.digest test