Fix: register all tests with package.json; modify them so "npm test" works.