Fixed test_sql_db_api to comply with pep8