Add more fields to testmodel
An updated version of the db_compiler