fix string formatting in assert statement