Added basic controller unit tests