Still work correctly with table_name argument
Only create index if unique keys are passed
Quotes around column name in alter statement
No need to explicity connect to db in tests
Change test to reflect new api
Change tests to reflect _unique on the end of unique index names
Change tests to expect selected rows as tuples