Add is_a? test to cover issue 1477