test with digest