Test debug

Moved referenced code into test body to check it