Adds test to check for error in npm test.
Replaces tests with tinytap.