working model and controller tests