improve missing attr tests
be wiser about missing attribute types