controller unit test added