add controller unit test