Unit tests and fixes for dropping a covered column and adding a PK column to a data table