Generalizing the above - let's try to write tests of the product code, not the debugging code.