Fix unit tests for python 2.6

Positional argument specifiers are needed for python 2.6

http://docs.python.org/2/library/string.html#format-string-syntax