Controller tests.