Add missing tests for the base controller