added link to indexes and renamed variable
moved dropping test db to common function
use column names
will now only index specified fields, by default nothing
can now patch on test_type to update fields to index