Python update/testing suite

Added a file to create a dummy sql database on which to test python-sql
syntax, so python code doesn't have to be tested on the actual database.
Corected some inor errors in the pythin file