Support testing multiple branches of same repo.
Fix TAP output when it's coming from npm test's stdout.