updated controller unit test
updated tests