Use Tape's t.plan and t.end as needed.

Not sure if this was an old Tape API or just legacy from QUnit, but it looks like Tape@2.3.2 prefers `t.plan`.

Also took out `t.end` everywhere except when `t.plan(0)`.