Adds debug block for tests.