make controller tests pass