corrected tests for py3 string formatting