test: Add DEBUG output option to test-fit.py