Fix #pretty_string tests not to fail on Travis CI