Fixed str.format() usage for Python 2.6, in demo's tests.