Add digest test cases