Removing active record and adding controller tests