use tape for browser tests

The way that node core tests are written means that the process never
ends, so testling hangs. Use tape for TAP output and tests that
explicitly end. Tape supports all the methods in 'assert'.