refactor(test.nodriver): refactor instanceof tests to use to.be.an()