Added a proper tearDown method
Removed a redundent query
Allowed returning of lists of dicts from query

Modulized select code to remove duplicates from doing this
Added some code that does many inserts
Fixed confusion of table name being wrong for insertion
Added AUTO_INCREMENT field in the primary key
Added AUTO_INCRMENT field in the test_basic
Added code to do dict insertion