remove test/unit debugging code

This PR removes the test/unit debugging code.