added some controller tests