Update digestLoop.cpp

updated to a test case