Sample controller tests