In general, we should not be testing through any internal APIs in a unittest unless there's really no other way to do so (just a general rule of thumb to keep in mind).  You can use the `.cli_type_name` property to get this information.