started writing controller tests