Added prefix tests to test_formatting.py