provide a test case for and code from #195
Merge pull request #209 from bnmnetp/issubclass

provide a test case for and code from #195