Refactor table_info type lookup
Update test cases for DUMMY, valid types