Fix test with missing object type