Ensure each entity in this test has a type

The check method has debug code which assumes a type, and segfaults
if one is missing. Debug code is useful. Don't violate its
assumptions.