added cdn.log as requeted, modified and run run_tests.sh as requested with success. Test reported:
14:46:51 $ ./run_tests.sh
......................................
----------------------------------------------------------------------
Ran 38 tests in 0.024s

OK