Table ordering sequence modification

Changed the ordering sequence of fields within the TEST and TEST_DET
tables.