updates to controller unit tests