fix a test in a private debug method