Python to MySQL interface tests