BaseController tests