created TrioModel class and updated test accordingly