created controller tests