Fixes SQLAlchemy warnings about unicode inputs in tests.