test(transpiler): add spec for instanceof
refactor(transpiler): instanceof