Roll our own testing instead of using assert()