Fix py2.7ism in a test simplate