Fix type check when transforming catalog.
Because should rather than must was called, this test previously didn't
do anything. This hid the fact that it was actually bad: it asserted that we
had an instance of Puppet::Type, not a subclass of it, and we have the later.
Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>