Fix for the poster medium size

...  and encoding line in test.py