Replaced all is_a() calls with instanceof operator
Replaced true asserations with instanceOf asserations in test cases
Missed a couple instanceOf asserations
Merge pull request #1673 from bcrowe/hotfix-instanceof

Replaced all is_a() calls with instanceof operator