Remove .type check from assertTagNodeEqual()