get and getDigest don't return data with prepare flag plus tests