pandas and sql
fixing tests