Changed stuff in test.py: formatting, string conversion