test wrapper now abides by debug