Add more detailed logging to framework-test.py