Use isa instead of matching the result of blessed.

Tests expanded.