Rewrite tests with r"strings", to make them better readable.