Use % syntax for string formatting to fix test.