fixing left library in test_format.py