Added a testdebug out to diagnose