Add test-tap npm script that outputs tests results in a separate file.

Allows for easy parsing by continuous integration tools.