#187 added support in todb for inserting into table where column names in database are in different order from source; refactored database tests fto verify in both postgresql and mysql