adding debug lines to detect test failures