Added BaseController tests.