Add test for class type check.
Merge pull request #2 from modocache/mindsnacks-pr460-add-test

Add test for class type check.