fixed the way I was testing the controller