Added test case on digest with field