cleaned up syntax for controller tests