Test code for the custom models.