Mixed up my fields on rows on create table and insert rows - fixed the unit tests and the accompanying code.