simple controller unit testing