Fixed bug in type casting tester
Merge pull request #16 from jameskirkpatrick/topic_testTypeCastable

Fixed bug in type casting tester