Add unittest for primary key columns don't have to be in the same order as the table columns