added more controller unit tests