Add is_a? test to cover issue 1477
remove unnecessary keep size adjustment in stack_extend_alloc(); close #1602
Merge pull request #1604 from carsonmcdonald/1477isatest

Add is_a? test to cover issue 1477