Model controller tests